package com.qf.service;

import com.qf.dao.UserDao;
import com.qf.dao.UserDaoImpl;

/**
 * @author 86199
 * @version V1.0
 * @Project jqueryDemo
 * @Package com.qf.service
 * @Description:
 * @Date 2022/5/27 13:36
 */
public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();

    @Override
    public boolean login(String username, String password) {
        return userDao.selectUser(username,password)!=null;
    }
}
